# -*- coding:utf-8 -*-
from Person import Ren
class Teacher1 (Ren):
    def __init__(self):
        # Person.Ren()
        print '调用子类构造函数'
    def teach(self,tName):
        print '%s 正在上课'%tName
    a=3
    try:
        assert a == 5, '自定义报错提示：a的值不是5'
    except AssertionError, msg:
        print msg
    print 'a的值为', a


